import request from '@/utils/request'

// 查询水质检测仪档案列表
export function listAllTerminalsWq(query) {
    return request({
        url: '/swla2/terminalsWq/listAll',
        method: 'get',
        params: query
    })
}

// 查询水质检测仪档案列表
export function listTerminalsWq(query) {
    return request({
        url: '/swla2/terminalsWq/list',
        method: 'get',
        params: query
    })
}

// 查询水质检测仪档案详细
export function getTerminalsWq(ID) {
    return request({
        url: '/swla2/terminalsWq/' + ID,
        method: 'get'
    })
}

// 新增水质检测仪档案
export function addTerminalsWq(data) {
    return request({
        url: '/swla2/terminalsWq',
        method: 'post',
        data: data
    })
}

// 修改水质检测仪档案
export function updateTerminalsWq(data) {
    return request({
        url: '/swla2/terminalsWq',
        method: 'put',
        data: data
    })
}

// 删除水质检测仪档案
export function delTerminalsWq(ID) {
    return request({
        url: '/swla2/terminalsWq/' + ID,
        method: 'delete'
    })
}
